/*
 * Applet.java
 *
 * Created on May 7, 2005, 12:57 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.milowski.monos.scheme.ui;

import java.applet.*;

import gnu.expr.Language;
import gnu.mapping.Environment;
import kawa.standard.Scheme;
//TODO: this class should be in the scheme package.
import com.milowski.monos.tools.Shell;

/**
 *
 * @author alex
 */
public class MonosApplet extends Applet {
    
    /** Creates a new instance of Applet */
    public MonosApplet() {
    }

    public void start() {
       try {
         Shell.init();
         new GuiConsole("Monos Shell",(Scheme)Language.getDefaultLanguage(),Environment.getCurrent());
       } catch (Exception ex) {
          ex.printStackTrace();
          showStatus(ex.getMessage());
       }

    }
    
}
